[Home]Simple EMC G-Code Generators

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Search:

Simple EMC G-Code Generators Written in Python

1. Drilling Speeds-n-Feeds
2. Arc Buddy
3. Facing Software
4. Bolt Circle Array Software
5. Counterbore Software
6. Grill Drilling Software
7. Bezel Engraving Software
8. Text Engraving Software
9. Pycam - Drop Cutter Surfacing Software
10. Dxf2gcode - import a 2D DXF file and produce G-code
11. Rectangulare-Circulare Pocketing Generator
12. Grid Rectangular Circular SpiderNet G-code Generator
13. Other G Code Generators
14. Using Python scripts with Axis
15. Using Python scripts with Windows
16. Using Python scripts online
17. mGcodeGenerator

From the official Python web site http://python.org/ "Python is a dynamic object-oriented programming language that can be used for many kinds of software development." Python is powerful,open source, cross platform compatible and easy to learn and use. It has become one of the favorite languages of the EMC development group. A tutorial for Python can be found here http://docs.python.org/tutorial/

This page contains links to Python scrips that generate simple G-Codes for EMC. For me to fire up a high dollar CAD program and the use the POST processor to generate simple routines is a time waster. So I'm writing a series of Python programs to do this. If you did an EMC install with Ubuntu you are good to go you have all you need. Make sure you make the mods to your ini file so you can open these up from Axis and paste the generated code directly into Axis... as shown at the bottom of the page.

The programs will do Facing, Pockets, Slots, Drill Patterns etc. When they are all finished I'll package them all up into one.

1. Drilling Speeds-n-Feeds

upload:Drill00.png

2. Arc Buddy

upload:Arcbuddy12.png

This is a slightly different version of Arc Buddy that was modified by Sebastian Jardi Estadella for use in gEdit to insert the gcodes. The instructions for use with gEdit are in the comments section.

upload:arcbuddy-sje.py

3. Facing Software

The facing software is super simple. You input a few things and press a button and your code is saved to your NC directory ready to open in EMC2!

upload:face-134.png

4. Bolt Circle Array Software

5. Counterbore Software

upload:Counterbore.png

6. Grill Drilling Software

upload:grill-13.png

7. Bezel Engraving Software

upload:Bezel11.png

8. Text Engraving Software

upload:engrave.png

9. Pycam - Drop Cutter Surfacing Software

upload:pycam_screenshot.png

A GPL 3D CNC Toolpath Generation program written by Lode Leroy

http://pycam.wiki.sourceforge.net/
Download from here:
http://sourceforge.net/project/showfiles.php?group_id=237831

10. Dxf2gcode - import a 2D DXF file and produce G-code

upload:DXF%202%20G-Code,%20Version%200.1.png

Written by Christian Kohloeffel.

Url translated to English by Google:

http://64.233.179.104/translate_c?hl=en&langpair=de|en&u=http://www.christian-kohloeffel.homepage.t-online.de/dxf2gocde.html

Original URL: http://www.christian-kohloeffel.homepage.t-online.de/dxf2gocde.html

Download from here:

http://code.google.com/p/dxf2gcode/ old dead url(http://dxf2gcode.vegasoft.de/2008-07-27-dxf2gcode_v01_src.zip)

This program seems to work pretty well with DXF files from QCAD.

11. Rectangulare-Circulare Pocketing Generator

12. Grid Rectangular Circular SpiderNet? G-code Generator

  with the grid alot of moves are taken and you can see the accurate by,
  checking Zero Border on the grid if it not harming the outside Shape!
  Now all shapes and functions are includet Aug_2010!

13. Other G Code Generators

http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Cp1 CP1 is a conversational machining program written by Ray Henry and Matt Shaver with additional MOP's by Lawrence Glaister.
http://www.timeguy.com/cradek/truetype A TrueType? tracer with DXF and G-Code output

14. Using Python scripts with Axis

Do the following...

15. Using Python scripts with Windows

16. Using Python scripts online

upload:online_python.png Here are some python generators that can be used from emc and online too. They are simple, but you can easily make new ones for yourself... using the hugomatic library, that abstracts the user interface. This is beta software, so please provide feedback. http://hugomatic.ca

17. mGcodeGenerator


LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited September 23, 2012 12:39 pm by Abobotek (diff)Published under a Creative Commons License